<?php
	use yii\widgets\Breadcrumbs;
?>
<?=Breadcrumbs::widget([
	'homeLink'=>['label'=>'首页','url'=>'site/index'],
	'itemTemplate'=>"<li><b>{link}</b></li>\n",
	'links'=>[
		['label' => '名称',
		'url' => ['post/test', 'id' => 10],
		],
		'添加名称'
	],

]);
?>